<html>
<head>
<title> Test Doc </title>

<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAFzj_-JbsjaE0AO2JsD8IqhTchv_-9Dxr5r24NY9LzPA8Ml9V3BRuDioQIbmjFukw4KZQkyHhusLT8A"
            type="text/javascript"></script>

<script type="text/javascript">
function test(){
document.write("status is ok");
document.write("<br>");
document.write("<p>hi<\/p>");
}
</script>


   <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
   
   <script type="text/javascript">
   
     function initialize() {
   
    if (GBrowserIsCompatible()) {
    
    var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.331689,-122.030731,true), 10);
        map.setUIToDefault();
   
   var lon = new Array(); 
   var lat = new Array(); 
   var point= new Array();
   
     $(document).ready(function(){
       for(var i=0; i<= 9000; i++){  
        
		$.getJSON('http://sunna-server.appspot.com/cabs/'+i, function(data) {
  	 		lon[i] = data.longitude;
  	 		lat[i] =data.latitude;
  	 			var point[i] = new GLatLng(lat[i], lon[i]);
				map.addOverlay(new GMarker(point[i]));
			});

			}
     });
     
     }
     }
     
   </script>


</head>

<body onload="initialize()" onunload="GUnload()">
 <div id="map_canvas" style="width: 500px; height: 300px"></div>

</br>
<script type="text/javascript">
test();
</script>

</br>

   

</body>

</html>